[NET] front: Allow driver to be built for an HVM guest.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 17 Aug 2006 17:45:59 +0000 (18:45 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 17 Aug 2006 17:45:59 +0000 (18:45 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
unmodified_drivers/linux-2.6/Makefile

index 2b7cd201be2f36e90e841d19360e111becce5180..28e68ca2dd461ae299ae846744982d2efcbe81b2 100644 (file)
@@ -58,6 +58,7 @@
 #include <xen/interface/memory.h>
 #include <xen/balloon.h>
 #include <asm/page.h>
+#include <asm/maddr.h>
 #include <asm/uaccess.h>
 #include <xen/interface/grant_table.h>
 #include <xen/gnttab.h>
index dacbc7012f78d8218c623be241b9444a565d4303..95d558f77b1d9dbcec21d9edffa22ea3ca3fc0ed 100644 (file)
@@ -3,3 +3,4 @@ include $(M)/overrides.mk
 obj-m += platform-pci/
 obj-m += xenbus/
 obj-m += blkfront/
+obj-m += netfront/